package com.gec.system.servcie;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.gec.model.system.SysRole;
import com.gec.model.vo.AssginRoleVo;
import com.gec.model.vo.SysRoleQueryVo;

import java.util.Map;

/**
 * 针对表sys_role(角色表)的数据库操作Service
 */

public interface SysRoleService extends IService<SysRole> {

    IPage<SysRole> queryRoleByPage(IPage<SysRole> page, SysRoleQueryVo sysRoleQueryVo);

    Map<String, Object> getRolesByUserId(Long userId);

    void doAssign(AssginRoleVo assginRoleVo);

}
